// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 2009-10-26 21:59:33


// Source File Name:   IF_ICMPEQ.java

package com.vhly.classfile.bytecode;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

// Referenced classes of package com.vhly.classfile.bytecode:
//            BaseCode, OffsetCall

public class IF_ICMPEQ
        implements BaseCode, OffsetCall {

    private int offset;
    private int index;

    public IF_ICMPEQ() {
    }

    public String getName() {
        return "IF_ICMPEQ";
    }

    public int getOp() {
        return 159;
    }

    public int length() {
        return 3;
    }

    public void read(DataInputStream datainputstream)
            throws IOException {
        index = datainputstream.readShort();
    }

    public void write(DataOutputStream dataoutputstream)
            throws IOException {
        dataoutputstream.write(159);
        dataoutputstream.writeShort(index);
    }

    public int getOffset() {
        return offset;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int i) {
        index = i;
    }

    public String getDescrption() {
        String s = "";
        return s;
    }

    public void setOffset(int i) {
        offset = i;
    }

    public boolean isWide() {
        return false;
    }

    public int getBrenchOffset() {
        return index;
    }

    public void setBrenchOffset(int i) {
        index = i;
    }
}